#include "epollserver.hpp"
#include <memory>

using namespace std;
using namespace ns_epoll;

void change(std::string request)
{
    // 完成业务逻辑
    cout<<"change : "<<request << endl;
}

int main()
{
    unique_ptr<epollServer> epoll_sever(new epollServer(change));
    epoll_sever->start();

    return 0;
}